package org.ix.dynamicapis.model.request;

import org.ix.dynamicapis.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import javax.validation.constraints.*;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "多主键测试新增请求实体")
@Getter
@Setter
@ToString
public class ApiMultiConfigAddRequest extends BaseEntity {

    @ApiModelProperty(value = "ConfigKey", position = 1, required = true)
    @NotBlank(message = "configKey(ConfigKey)不能为空")
    private String configKey;

    @ApiModelProperty(value = "ConfigType", position = 2, required = true)
    @NotNull(message = "configType(ConfigType)不能为空")
    private Integer configType;

    @ApiModelProperty(value = "ConfigValue", position = 3, required = true)
    @NotNull(message = "configValue(ConfigValue)不能为空")
    private Integer configValue;
}
